Skip to content

v4.0.0 — ESLint 10 support#97

Merged
fxOne merged 5 commits intomasterfrom
release/v4.0.0
Mar 15, 2026
Merged

v4.0.0 — ESLint 10 support#97
fxOne merged 5 commits intomasterfrom
release/v4.0.0

Conversation

@fxOne
Copy link
Copy Markdown
Owner

@fxOne fxOne commented Mar 15, 2026

Summary

Major release adding ESLint 10 support. This is a breaking change — ESLint 9 is no longer supported.

Closes #96

Changes

Bug Fix

  • Replace deprecated context.getSourceCode() with context.sourceCode at lib/rules/sort-keys-shorthand.js:289 — fixes crash on ESLint 10 (TypeError: context.getSourceCode is not a function)

Breaking Changes

  • Peer dependency updated from eslint ^9.0.0 to eslint ^10.0.0
  • Version bumped from 3.0.0 to 4.0.0

Dependency Updates

Package From To
eslint (peer) ^9.0.0 ^10.0.0
eslint (dev) ^9.29.0 ^10.0.3
@changesets/cli ^2.27.1 ^2.30.0
eslint-plugin-import ^2.31.0 ^2.32.0
mocha 11.7.0 11.7.5

Infrastructure

  • Migrate from yarn to pnpm
    • Replace yarn.lock with pnpm-lock.yaml
    • Update CI workflows (test.yml, release.yml) to use pnpm/action-setup@v4

Testing

All 195 tests passing with ESLint 10.0.3 and pnpm.

fxOne added 5 commits March 15, 2026 05:49
BREAKING CHANGE: ESLint 9 is no longer supported. Requires ESLint ^10.0.0.

- Replace deprecated context.getSourceCode() with context.sourceCode (fixes #96)
- Update peer dependency to eslint ^10.0.0
- Update all dev dependencies to latest versions
- Migrate from yarn to pnpm
- Update CI workflows to use pnpm
- Rewrite release.yml to use OIDC trusted publishing (no NPM_TOKEN needed)
- Trigger releases on v* tag push instead of workflow_dispatch
- Provenance attestations are generated automatically
- Remove dependabot-auto-merge.yml workflow
- Add RELEASE.md with setup and publishing instructions
- Update requirements to ESLint 10+ with link to v3.x for ESLint 9
- Simplify installation and configuration sections
- Add release process section with trusted publishing setup
- Delete standalone RELEASE.md
Removed detailed release process instructions from README.
Updated ESLint support and dependencies, migrated workflows.
@fxOne fxOne merged commit c26e3a1 into master Mar 15, 2026
2 checks passed
@fxOne fxOne deleted the release/v4.0.0 branch March 15, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash with ESLint 10

1 participant